package pers.sen.cloud.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.sen.cloud.mapper.UserMapper;
import pers.sen.cloud.po.User;
import pers.sen.cloud.service.UserService;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/11/26 19:54
 * @Description TODO
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findByUsername(String username) {
        return userMapper.findByUsername(username);
    }
}
